package com.youlin.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * 承办人与逝者关系表
 * @author ${author}
 * @since 2020-06-06
 */
@NoArgsConstructor
@Data
@Accessors(chain=true)
public class BygRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 关系ID
    */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
    * 逝者性别：0-男、1-女
    */
    private Integer respectGender;

    /**
    * 承办人对逝者的尊称
    */
    private String respectCall;

    /**
    * 尊称说明
    */
    private String respectRemark;

    /**
    * 承办人性别：0-男、1-女
    */
    private Integer takerGender;

    /**
    * 承办人自称
    */
    private String takerCall;

    /**
    * 承办人与逝者的辈分：0-长辈、1-平辈、2-晚辈
    */
    private Integer grade;

}
